package com.wmm.fast.main.shop2FactoryMethod;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Auther: Token360
 * @Date: 2018/9/6 15:32
 * @Description:
 */
public class OperationSub implements Operation{

    private Logger log = LoggerFactory.getLogger(OperationSub.class);

    @Override
    public Object doOperation(int a, int b) {
        int result = a - b;
        log.info("[{}] - [{}] = [{}]",a,b,result);
        return result;
    }
}
